<?php

/*
 * This file is part of the asa-charles-ho/dada
 *
 * (c) asa ho <asa_ho@foxmail.com>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

namespace AsaHoCharlesHo\Dada\Client;

/**
 * 达达接口返回。
 */
class DadaResponse
{
    /**
     * 请求响应返回的数据状态
     */
    public $status;

    /**
     * 请求响应返回的code.
     */
    public $code;

    /**
     * 请求响应返回的信息.
     */
    public $msg;

    /**
     * 请求响应返回的结果.
     */
    public $result;

    /**
     * 获取返回code.
     */
    public function getCode()
    {
        return $this->code;
    }

    public function setCode($code)
    {
        $this->code = $code;
    }

    /**
     * 获取返回status.
     */
    public function getStatus()
    {
        return $this->status;
    }

    public function setStatus($status)
    {
        $this->status = $status;
    }

    /**
     * 获取返回msg.
     */
    public function getMsg()
    {
        return $this->msg;
    }

    public function setMsg($msg)
    {
        $this->msg = $msg;
    }

    /**
     * 获取返回result.
     */
    public function getResult()
    {
        return $this->result;
    }

    public function setResult($result)
    {
        $this->result = $result;
    }
}
